package za.org.jcicada.cfgmngr.messages;

import java.util.Set;

import za.org.jcicada.cfgmngr.SystemSetType;
import za.org.jcicada.genss.SystemURN;
import za.org.jcicada.genss.messages.ReplyMessage;
import za.org.jcicada.genss.messages.Result;

/**
 * AcknowledgeAlarmInform.java
 *
 * @author Simon Cross
 *
 * Created on December 18, 2008, 14:26
 */

/**
 * A AcknowledgeAlarmInform message.
 */
public class SystemSetReply extends ReplyMessage {

    /**
     * Class serialization version id.
     */
    private static final long serialVersionUID = 1L;

    /**
     * The type of system set
     */
    private SystemSetType type;
    
    /**
     * Configuration object
     */
    Set<SystemURN> systemURNs;

    /**
     * Construct message
     * 
     * @param type the type of system set
     * @param systemURNs the set of system URNs
     */
    public SystemSetReply(Result result, SystemSetType type, Set<SystemURN> systemURNs) {
        super(result);
        this.type = type;
        this.systemURNs = systemURNs;
    }

    public SystemSetType getType() {
    	return type;
    }
    
    public Set<SystemURN> getSystemURNs() {
        return systemURNs;
    }

}
